package cn.myfirefly.moming.common.entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.myfirefly.core.entity.BasePO;

@Entity
@Table(name = "mm_system_config")
public class MmSystemConfig extends BasePO implements java.io.Serializable {
		
	/**
	 * 
	 */
	private static final long serialVersionUID = 461169442459878565L;
	//columns START
	/** ID */
	private Integer id;
	/** 系统编号 */
	private Integer sysId;
	/** 配置名称 */
	private String configName;
	/** 配置关键字 */
	private String configKey;
	/** 配置值 */
	private String configValue;
	//columns END

	/**
	 * ID
	 * @return
	 */
	@Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * ID
	 * @param value
	 */
	public void setId(Integer value) {
		this.id = value;
	}
		
	/**
	 * 系统编号
	 * @return
	 */
	@Column(name = "sys_id", nullable = true)
	public Integer getSysId() {
		return this.sysId;
	}
	
	/**
	 * 系统编号
	 * @param value
	 */
	public void setSysId(Integer value) {
		this.sysId = value;
	}
		
	/**
	 * 配置名称
	 * @return
	 */
	@Column(name = "config_name", nullable = true)
	public String getConfigName() {
		return this.configName;
	}
	
	/**
	 * 配置名称
	 * @param value
	 */
	public void setConfigName(String value) {
		this.configName = value;
	}
		
	/**
	 * 配置关键字
	 * @return
	 */
	@Column(name = "config_key", nullable = true)
	public String getConfigKey() {
		return this.configKey;
	}
	
	/**
	 * 配置关键字
	 * @param value
	 */
	public void setConfigKey(String value) {
		this.configKey = value;
	}
		
	/**
	 * 配置值
	 * @return
	 */
	@Column(name = "config_value", nullable = true)
	public String getConfigValue() {
		return this.configValue;
	}
	
	/**
	 * 配置值
	 * @param value
	 */
	public void setConfigValue(String value) {
		this.configValue = value;
	}
}

